package com.youhome.mapper;

import com.youhome.model.Client;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ClientMapper {
    int deleteByPrimaryKey(Long clientId);

    int insert(Client record);

    int insertSelective(Client record);

    Client selectByPrimaryKey(Long clientId);

    Client selectByUserId(Long userId);

    int updateByPrimaryKeySelective(Client record);

    int updateByPrimaryKey(Client record);

    List<Client> selectByBean(Client record);
}